package show.marvelous.infrastructure.dao.chessgame;

import java.util.List;
import org.springframework.data.repository.CrudRepository;

/**
 * The interface Play record dao.
 * @author Kris  2021/9/16
 */
public interface IPlayRecordDao extends CrudRepository<PlayRecordDO,Long>{

    /**
     * List by game id list.
     *
     * @param gameId the game id
     * @return the list
     */
    List<PlayRecordDO> listByGameId(long gameId);
}
